﻿namespace Devonline.Entity;

/// <summary>
/// 针对原始业务数据的变更申请过程记录接口
/// 字符串主键的默认接口
/// </summary>
public interface IBusinessChange : IBusinessChange<string>, IEntitySet { }

/// <summary>
/// 针对原始业务数据的变更申请过程记录接口
/// </summary>
/// <typeparam name="TKey"></typeparam>
public interface IBusinessChange<TKey> : IEntitySet<TKey>
{
    /// <summary>
    /// 原业务对象编号
    /// </summary>
    TKey? BusinessId { get; set; }
    /// <summary>
    /// 申请时间
    /// </summary>
    DateTime ChangeDate { get; set; }
    /// <summary>
    /// 申请人
    /// </summary>
    string? ChangeApplicant { get; set; }
    /// <summary>
    /// 操作人
    /// </summary>
    string? ChangeOperator { get; set; }
    /// <summary>
    /// 变更原因
    /// </summary>
    string? ChangeReason { get; set; }
}